package chpt_04_lesson_01.builder;

import org.springframework.stereotype.Component;

/**
 * @author Ping
 * @date 2023/3/15 16:24
 **/
@Component
public class BeefMealBuilder extends MealBuilder {
    @Override
    public MealBuilder setDrinking() {
        this.meal.setDrinking("可乐");
        return this;
    }

    @Override
    public MealBuilder setMainFood() {
        this.meal.setMainFood("牛肉堡");
        return this;
    }

    @Override
    public MealBuilder setSnack() {
        this.meal.setSnack("薯条") ;
        return this;
    }

    @Override
    public Meal getMeal() {
        return this.meal;
    }
}
